﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo1
{
    class Program
    {
        static void Main(string[] args)
        {
            Task Tnpc1 = new Task("张飞",NPCtype.Task,TaskNPC.BearerNPC,"军情");
            Tnpc1.SpeakA();
            Task Tnpc2 = new Task("关羽",NPCtype.Task,TaskNPC.RemNPC,"乌龟");
            Tnpc2.SpeakB();
            Task Tnpc3 = new Task("刘备", NPCtype.Task, TaskNPC.GatherNPC, "龙骨草");
            Tnpc3.SpeakC();
            Console.WriteLine("----------------------------------------------------------------------------------");


            Pedlar Pnpc1 = new Pedlar("吕布", NPCtype.Task, PedlarNPC.WeaponNPC, "方天画戟");
            Pnpc1.SpeakA();
            Pedlar Pnpc2 = new Pedlar("马超", NPCtype.Task, PedlarNPC.MaterialsNPC, "白金甲片");
            Pnpc2.SpeakB();
            Pedlar Pnpc3 = new Pedlar("董卓", NPCtype.Task, PedlarNPC.FoodNPC, "米糠");
            Pnpc3.SpeakC();
            Console.WriteLine("----------------------------------------------------------------------------------");


            Blacksmith Bnpc1 = new Blacksmith("黄忠", NPCtype.Task, BlacksmithNPC.RepairNPC, "方天画戟");
            Bnpc1.SpeakA();
            Blacksmith Bnpc2 = new Blacksmith("典韦", NPCtype.Task, BlacksmithNPC.IntensifyNPC, "方天画戟");
            Bnpc2.SpeakB();
            Blacksmith Bnpc3 = new Blacksmith("曹操", NPCtype.Task, BlacksmithNPC.ForgeNPC, "白金甲片");
            Bnpc3.SpeakC();
            Console.WriteLine("----------------------------------------------------------------------------------");
        }
    }
}
